<template>
  <Person />
</template>
<script lang="ts" setup name="App">
import Person from "./components/Person.vue";
import {reactive} from 'vue'
import {type Persons} from '@/types'
const persons:Persons =
   [
    {
      id: '1',
      name: '张三',
      age: 18
    },
    {
      id: '2',
      name: '李四',
      age: 19
    },
    {
      id: '3',
      name: '王五',
      age: 20
    }
  ]
console.log(persons)
</script>
<style>

</style>